-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps(browser): remove modern-node-polyfills package #3648
Conversation
We don't rely on util in #3685 anymore, so we can also remove polyfills now with modern-node-polyfills package |
b4a32c9
to
81270a8
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
This comment was marked as resolved.
This comment was marked as resolved.
|
This comment was marked as resolved.
This comment was marked as resolved.
Probably because we have |
Something like this #3701? |
Yes |
Why are tests passing then 🤔 |
This comment was marked as resolved.
This comment was marked as resolved.
OK, the tests will fail until #3701 is in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
normalizeId
is not used anymore
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Very true! Removed ✅ |
@sheremet-va are the tests generally a bit flakey? It seems to be a different spec failing each time |
Some tests are flaky. Your PR is open until we have a browser test in ecosystem-ci |
f145fa1
to
54d9d8c
Compare
@sheremet-va what is the status of that? is it something I can help with? |
a6a9db3
to
28cb3fe
Compare
28cb3fe
to
0f333f8
Compare
Sorry for keeping you waiting! I am working on a small test suite for ecosystem-ci now, we can probably merge this PR today or next week. |
How should the
|
Vitest doesn't use it and as far as I know
The error looks correct to me since we don't define a global |
Looks like |
fake-timers have a check for
Yeah, this is why I am saying we should just patch fake timers to remove this check. |
resolves: #3299
The browser runner indiscriminately applies pollyfills for node builtin modules. This PR removes completely removes the dependence on
modern-node-polyfills
.